<template>
    <div class="container" id="container" ref="container">
        <Login routerTo="/"></Login>
    </div>

</template>

<script setup>
import { onMounted, onUnmounted } from 'vue'
import Login from '@/components/login/loginBox.vue'
onMounted(() => {
    document.body.style.backgroundColor = '#0A2640';
});

onUnmounted(() => {
    document.body.style.backgroundColor = '#F6F6F6';
});
</script>

<style scoped>
.container {
    top: 120px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}
</style>